package com.ccg.service;

import com.ccg.dao.OrderDao;
import com.ccg.entity.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderService {
    @Autowired
    OrderDao orderDao;

    public List<Order> findOrderByName(int u_id){
        return orderDao.findOrderByName(u_id);
    }
}
